<%--
  Created by IntelliJ IDEA.
  User: qi
  Date: 2022/5/7
  Time: 14:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
<form action="userservlet?method=login" method="post">
    <table>
        <tr>
            <td colspan="2">人员档案系统</td>
        </tr>
        <tr>
            <td>用户名</td>
            <td>
                <input type="text" name="username" id="username">
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <input type="password" name="pwd" id="pwd">
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit" value="登录">
            </td>
            <td>
                <button type="button" name="register" onclick="window.location.href='register.jsp'">注册</button>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <span style="color:red">${msg}</span>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
